﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace NOSDC.Pocos
{
    public sealed class Job
    {
        public int Id { get; set; }

        [Required]
        public string Title { get; set; }

        [Required]
        public string Description { get; set; }

        [Required]
        public string Employer { get; set; }
        public string Salary { get; set; }

        [Required]
        public string Location { get; set; }
        public DateTime DatePosted { get; set; }

        [Required]
        public DateTime DateExpires { get; set; }
    }
}
